package com.example.transaction.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.sql.Blob;

/**
 * <p>
 * 
 * </p>
 *
 * @author zh
 * @since 2023-06-20
 */
public class Item implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ItemID", type = IdType.AUTO)
    private Integer itemID;

    @TableField("ItemName")
    private String itemName;

    @TableField("ItemDescription")
    private String itemDescription;

    @TableField("ItemStatus")
    private String itemStatus;

    @TableField("ItemImage")
    private String itemImage;

    @TableField("UserID")
    private Integer userID;


    @TableField("deleted")
    private Integer deleted;

    @TableField("price")
    private double price;

    @Override
    public String toString() {
        return "Item{" +
                "itemID=" + itemID +
                ", itemName='" + itemName + '\'' +
                ", itemDescription='" + itemDescription + '\'' +
                ", itemStatus='" + itemStatus + '\'' +
                ", itemImage=" + itemImage +
                ", userID=" + userID +
                ", deleted=" + deleted +
                ", price=" + price +
                '}';
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }


    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    public Integer getItemID() {
        return itemID;
    }

    public void setItemID(Integer itemID) {
        this.itemID = itemID;
    }
    public String getItemName() {
        return itemName;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }
    public String getItemDescription() {
        return itemDescription;
    }

    public void setItemDescription(String itemDescription) {
        this.itemDescription = itemDescription;
    }
    public String getItemStatus() {
        return itemStatus;
    }

    public void setItemStatus(String itemStatus) {
        this.itemStatus = itemStatus;
    }
    public String getItemImage() {
        return itemImage;
    }

    public void setItemImage(String itemImage) {
        this.itemImage = itemImage;
    }
    public Integer getUserID() {
        return userID;
    }

    public void setUserID(Integer userID) {
        this.userID = userID;
    }

}
